import Avue from '@smallwei/avue'
import '@smallwei/avue/lib/index.css'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import { createPinia } from 'pinia'
import 'virtual:windi.css'
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import './style.css'


const pinia = createPinia()

const app = createApp(App)

app.use(pinia)
app.use(router)
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(Avue, {
    crudOption: { indexLabel: '序号' },
})

app.mount('#app')
